namespace ScrumSprintMonitor.ServerAdapter.TFS.TemplateAdaptors
{
    #region #using Directives

    using System;
    using System.ComponentModel.Composition;

    using Infrastructure;

    using Isolation.TeamFoundationServer;

    using PreEmptive.Attributes;

    #endregion

    [Export(typeof(IProcessTemplateAdapter))]
    public class FaroConchangoV2ProcessTemplateAdapter : ConchangoV2BaseProcessTemplateAdapter
    {
        [Feature("Conchango/FARO Process Template")]
        public override void Initialize()
        {
        }

        public override string ProcessTemplateName
        {
            get { return "Scrum for Team System v2 (FARO)"; }
        }

        public override IWorkItemAdapter AdaptWorkItem(object workItem)
        {
            return new FaroConchangoV2ScrumWorkItemAdapter((IWorkItem) workItem);
        }
    }
}